About

  • Uses a subset of Lua as the programming language.

  • 128x128px.

  • 16 colors.

  • 256 sprites total, with each sprite being 16x16px.

  • Gave saved inside a .png .

    • Requires Pico-8 to run the game.

  • Export to .html .

    • Anyone can play the game in the browser.

  • Pico-8 Quick Showcase .

  • Pico-8 Quick Showcase .

Basic functions

  • _init()

    • In the beginning of the game.

    • Variables are defined here.

  • _update()

    • 30 times a second.

  • _draw()

    • 30 times a second, after _update() .

  • cls()

    • Clear screen.

  • pset(x, y, color_idx)

    • Draw a pixel.

  • spr(sprite_idx, x, y)

    • Draw a sprite.

  • map(x, y)

    • Draw a map.

  • btn(button)

    • Button down.

  • btnp(button)

    • Button press.

  • sfx(sound_idx)

    • Play sound.